import json
import config


class ReadUtil:
    @classmethod
    def read_json(cls,file):
        with open(file, 'r', encoding='utf-8') as f:
            data = json.load(f)
            list1 = []
            for item in data:
                list1.append(tuple(item.values()))
        return list1


if __name__ == '__main__':
    file = config.Base_Dir+'/login.json'
    print(ReadUtil.read_json(file))

